package com.hqyj.springbootday03.modules.test.service;


import com.github.pagehelper.Page;
import com.hqyj.springbootday03.modules.common.vo.Result;
import com.hqyj.springbootday03.modules.common.vo.Search;
import com.hqyj.springbootday03.modules.test.entity.Student;

public interface StudentService {
    Result<Student> editStudent(Student student);

    Student getStudentById(int id);

    Student getStudentByStudentName(String studentName);

    Result<Student> updateStudent(Student student);

    Page<Student> getStudentsBySearch(Search search);
}
